﻿namespace WFBot.Framework.Domain
{
    using System;
    using System.ComponentModel.DataAnnotations;
    using System.Collections.Generic;
    using System.Diagnostics;

    public class Visitor : IEntity
    {
        private readonly ICollection<Response> _responses;

        public Visitor()
        {
            _responses = new List<Response>();
        }

        public virtual long Id { get; set; }
        public virtual string Identifier { get; set; }
        public virtual string IPAddress { get; set; }
        public virtual string SessionId { get; set; }
        public virtual string EMail { get; set; }
        public virtual DateTime RegistrationDate { get; set; }

        public virtual ICollection<Response> Responses
        {
            [DebuggerStepThrough]
            get
            {
                return _responses;
            }
        }

    }
}
